3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next |
A drawing engine may support OpenGL texture wrapping, in which case you might need to specify a texture wrapping mode in the u and v parametric directions. You specify an engine's texture wrapping modes by assigning a value to its kQATagGL_TextureWrapU and kQATagGL_TextureWrapV state variables. The default value of both these variables for a drawing engine that supports OpenGl texture wrapping is kQAGL_Repeat . You can use the following constants to specify a texture wrapping mode.
#define kQAGL_Repeat 0
#define kQAGL_Clamp 1
Previous | QD3D Book | Overview | Chapter Contents | Next |